package com.lordjoe.collectiveintelligence.data;

/**
 * com.lordjoe.collectiveintelligence.data.NumericPair
 *
 * @author Steve Lewis
 * @date May 12, 2009
 */
public class ComparablePair<T  extends Comparable>  implements IPair<T>
{
    public static ComparablePair[] EMPTY_ARRAY = {};
    public static Class THIS_CLASS = ComparablePair.class;

    private final T m_MinimumValue;
    private final T m_MaximumValue;

    public ComparablePair(T pMinimumValue, T pMaximumValue)
    {
        m_MinimumValue = pMinimumValue;
        m_MaximumValue = pMaximumValue;
    }

    public T getMinimumValue()
    {
        return m_MinimumValue;
    }

    public T getMaximumValue()
    {
        return m_MaximumValue;
    }
}
